class CreatePublishers < ActiveRecord::Migration
  def self.up
    create_table :publishers do |t|
      t.string :name
      t.string :adress
      t.string :phone
      t.string :phone_fax
      t.string :postal_code
      t.string :url
      t.boolean :cataloged
      t.references :city

      t.timestamps
    end
  end

  def self.down
    drop_table :publishers
  end
end
